package com.bgy.config.jwt;

import java.io.Serializable;

public class JwtAuthenticationRequest implements Serializable {

    private static final long serialVersionUID = -8445943548965154778L;

    private String loginId;

    private String password;

    private String openid;

    private String unionid;

    /**
     * pc端登录传值：MIS 小程序端登录传值：MP
     */
    private String loginSource;

    public String getLoginSource() {
        return loginSource;
    }

    public void setLoginSource(String loginSource) {
        this.loginSource = loginSource;
    }

    public JwtAuthenticationRequest() {
        super();
    }

    public JwtAuthenticationRequest(String loginId, String password, String openid, String unionid) {
        this.setLoginId(loginId);
        this.setPassword(password);
        this.setOpenid(openid);
        this.setUnionid(unionid);
    }

    public String getLoginId() {
        return loginId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
